package com.sky.service;

import com.sky.dto.EmployeeLoginDTO;
import com.sky.dto.EmployeePageQueryDTO;
import com.sky.entity.Employee;
import com.sky.result.PageResult;

import java.util.List;

public interface EmployeeService {

    /**
     * 员工登录
     */
    Employee login(EmployeeLoginDTO employeeLoginDTO);


    void save(Employee employee);


    PageResult page(EmployeePageQueryDTO employeePageQueryDTO);

    void status(Integer status, Long id);

    Employee getById(Long id);

    void update(Employee employee);
}
